#include <iostream>
#include <vector>

using namespace std;

int main()
{
    const int seq_size = 18;

    int elem_vals[seq_size] = {1, 2, 3, 5, 8, 13,
                               21, 34, 55, 89, 144, 233,
                               377, 610, 987, 1597, 2584, 5000};

    vector<int> elem_seq(elem_vals, elem_vals + seq_size), elem_seq2(seq_size, 1);
    vector<int> *seq_addr[2] = {&elem_seq, &elem_seq2};
    cout << (*seq_addr[0])[0] << endl;

    for (int i = 0; i < (int)elem_seq.size(); i++)
        cout << elem_seq[i] << " ";
    cout << endl << elem_seq.size();

    return 0;
}